package com.kdd.campus.sh.service;

import com.kdd.campus.sh.dto.*;
import com.kdd.campus.sh.po.ShOrder;

import java.text.ParseException;
import java.util.List;

/**
 * @Auther: fcp
 * @Date: 2020/4/29 22:26
 * @Description:
 */
public interface OrderService {
    List<QueryOrderDto> findList(Long userId, Integer pageNum, Integer pageSize, OrderParam orderParam);

    void delete(Long userId, Integer id);

    void update(Long userId, ChangeOrderDto changeOrder);

    void add(Long userId, OrderDto orderDto);

    void updatePayStatus(String out_trade_no, String time_end);

    void updatePayStatus(ShOrder order);

    OrderDetailDto findById(Long userId, Integer orderId);
}
